/*
 * @Author: white_queen
 * @Date: 2024-07-18 16:21:13
 * @LastEditors: white_queen
 * @LastEditTime: 2024-07-19 11:18:10
 * @FilePath: /http/apis/order.js
 * @Description: 订单模块接口
 */

import request from '../../utils/request.js'
const OrderApi = {
	// 确认订单
	confirmOrder(params) {
		let data = {
			data: params,
		};
		return request("/api/order/confirm_order", "POST", data)
	},
	// 提交订单
	submitOrder(params) {
		let data = {
			data: params,
		};
		return request("/api/order/submit_order", "POST", data)
	},
	// 获取订单列表
	getOrderList(params) {
		let data = {
			data: params,
		};
		return request("/api/order/get_order_list", "POST", data)
	},
}
export default OrderApi